package com.he.projects.custom.controller;

import com.he.projects.custom.bean.ResultT;
import com.he.projects.custom.dao.BackuserDao;
import com.he.projects.custom.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author heyanjing
 * date:2020-07-13 2020/7/13:20:49
 */
@Slf4j
@RestController
public class UserController {

    @Autowired
    private UserService userService;

    @GetMapping("/user/login")
    public ResultT login() {
        // userService.insert();
        return ResultT.success();
    }

}
